<?php
/**
 * github access token需要在costomer.php配置中另外配置costomer.php文件需要自行创建
 * GIT_WEBSOCKET_URL 配置websocket服务器地址
 */
return array(
    //'配置项'=>'配置值'
    'URL_MODEL'            => '2',
    'URL_HTML_SUFFIX'      => '',
    'URL_ROUTE_RULES'      => array(
        'book/:namespace/:name/test'              => 'Book/test',
        'book/:namespace/:name/edit'              => 'Book/edit',
        'book/:namespace/:name/dashboard'         => 'Book/dashboard',
        'book/:namespace/:name/setting/toggle'    => 'Book/settingToggle',
        'book/:namespace/:name/setting'           => 'Book/setting',
        'book/:namespace/:name/release/:id/check' => 'Book/releaseCheck',
        'book/:namespace/:name/release/status'    => 'Book/releaseStatus',
        'book/:namespace/:name/release'           => 'Book/release',
        'book/:namespace/:name/publish'           => 'Book/publish',
        //额外部分
        'book/:namespace/:name/getSummary'        => 'Book/getSummary',
        'book/:namespace/:name'                   => 'Book/index',

        ':namespace/:name/:id'                    => 'Base/show',
    ),
    'GIT_ACCESS_TOKEN'     => '', //git密钥
    'GIT_WEBSOCKET_URL'    => '', //websocket服务器地址
    'GIT_OWNER'            => '', //仓库所有者
    'GIT_WEBSOCKET_SCHEME' => 'http',
    //加载个性配置
    'LOAD_EXT_CONFIG'      => 'customer',
    // 'TMPL_EXCEPTION_FILE'  => APP_PATH.'Book/View/Public/404.html', // 异常页面的模板文件
    // 'ERROR_PAGE'           => './404.html', // 错误定向页面
);
